package com.engineering.elink.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.BlogDc;

public interface BlogDcMapper {
    int deleteByPrimaryKey(Integer blogDcId);

    int insert(BlogDc record);

    int insertSelective(BlogDc record);

    BlogDc selectByPrimaryKey(Integer blogDcId);

    int updateByPrimaryKeySelective(BlogDc record);

    int updateByPrimaryKey(BlogDc record);

	void insertBatch(List<BlogDc> fdc);

	@Delete("delete from blog_dc  where find_in_set(blog_id,#{oldDcids})")
	void del(@Param("oldDcids")String oldDcids);
}